package com.app.newiptv.activity;

import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.app.newiptv.R;

public class TestActivity extends Activity {
    TextView test_text1;
    TextView test_text2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        test_text1 = findViewById(R.id.test_text1);
        test_text2 = findViewById(R.id.test_text2);
        Intent intent = getIntent();
        test_text1.setText(intent.getStringExtra("type"));
        test_text2.setText(intent.getStringExtra("result"));
    }
}
